<?php

class TextField {

    public function __construct($id, $label, $type) {
        $this->id = $id;
        $this->label = $label;
        $this->type = $type;#supported types are: any,password
    }

    //code sent to phone
    public function getCode() {
        return "textfield" . Sympols::$split3 . $this->id . Sympols::$split3 . $this->label . Sympols::$split3 . $this->type;
    }

}

?>
